package com.topfinance.cnaps2.service;

import java.util.List;

import com.topfinance.cnaps2.dto.SysOrgDto;
import com.topfinance.cnaps2.ebo.SysOrgEbo;
import com.topfinance.frame.exception.AppException;

public interface ISysOrgManager extends IBaseManager{

	//获得组织
	public SysOrgEbo getOrg(Integer oid) throws AppException;

	//增加组织
	public void addOrg(SysOrgEbo o) throws AppException;
	public void addOrgDto(SysOrgDto o) throws AppException;

	//删除组织
	public void deleteOrg(SysOrgEbo o) throws AppException;
	public void deleteOrg(Integer id) throws AppException;

	//编辑组织
	public void editOrg(SysOrgDto o) throws AppException;

	//获得组织列表
	public List getAllOrgList() throws AppException;
	
	//获得组织树
	public List getOrgTree() throws AppException;
}